<nz-card>
  <sf #clSF
    mode="search"
    [schema]="clSchema"
    [button]="null"
    autoComplete=false;
  >
  </sf>  
  <div nz-row>
    <div nz-col nzSpan="12" style="padding-left: 5px;padding-bottom: 5px;"><button (click)="clAdd()" nz-button nzType="primary"><i nz-icon nzType="plus"></i>材料新增</button></div>
    <div nz-col nzSpan="12" style="text-align: right;padding-right: 5px;padding-bottom: 5px;">
      <button (click)="clQuery(true)" nz-button nzType="primary"><i nz-icon nzType="search"></i>检索</button>
      <button (click)="this.clSF.reset()" nz-button nzType="default"><i nz-icon nzType="reload" nzTheme="outline"></i>重置</button>
    </div>
  </div>

  <lb-grid #clST  [columns]="clColumns" [sname]="params.clSname" [queryparas]="params.form" [scroll]="{x:'1100px'}">
  </lb-grid> 
</nz-card>

<nz-modal [(nzVisible)]="clAddVisible" nzTitle="添加材料" (nzOnCancel)="clAddCancel()" (nzOnOk)="clAddOk()" nzWidth="850">
    <sf  #clAddSF [schema]="clAddSchema" [button]="null" nzOkText="保存"  autocomplete="off">
    </sf>
</nz-modal> 

<nz-modal [(nzVisible)]="clUpVisible" nzTitle="材料修改" (nzOnCancel)="clUpCancel()" (nzOnOk)="clUpOk()" nzWidth="850">
  <sf  #clUpSF [schema]="clUpSchema"  [button]="null" nzOkText="保存"  autocomplete="off">
  </sf>
</nz-modal> 


